﻿package independence.testing.reflect 
{
	import independence.core.IndyObject;
	
	
	/**
	 * ...
	 * @author TK, TK Assembled
	 */
	public class ReflectionTestObject extends ReflectionTestObjectParent
	{
		public static const CONSTANT:String = "constant";
		
		public static var classLevelVariable:String = "something else.";
		
		public static function staticElectricty():Boolean 
		{
			return (Math.random() > 0.5 ? true : false);
		}
		
		private var _stringProperty:String = "stringProperty";
		
		private var _objectProperty:Object = { something: "awef" };
		
		private var _numberProperty:Number = 100;
		
		public const INSTANCE_CONST:String = "instance constant.";
		
		public var publicVar:String = "publicVar";
		
		public var publicObject:Object = { };
		
		public function ReflectionTestObject() 
		{
			
		}
		
		public function runSomething():void
		{
			
		}
		
		public function runSomethingElse():void
		{
			
		}
		
		public function defaultFunction():void
		{
			
		}
		
		public function get numberProperty():Number { return _numberProperty; }
		
		public function set numberProperty(value:Number):void 
		{
			_numberProperty = value;
		}
		
		public function get objectProperty():Object { return _objectProperty; }
		
		public function set objectProperty(value:Object):void 
		{
			_objectProperty = value;
		}
		
		public function get stringProperty():String { return _stringProperty; }
		
		public function set stringProperty(value:String):void 
		{
			_stringProperty = value;
		}
	}
	
}